<Window x:Class="MMXSaveGameConverter.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:l="clr-namespace:MMXSaveGameConverter"
        Title="MMX Save Game Converter v3.1 (c) Albeoris 2013-2014" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <ListView x:Name="SaveGameList" Grid.Row="0" SelectionMode="Single" l:GridViewSort.AutoSort="True" AllowDrop="True">
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="Auto" Header="Format" DisplayMemberBinding="{Binding Format}" l:GridViewSort.PropertyName="Format" />
                    <GridViewColumn Width="Auto" Header="Name" DisplayMemberBinding="{Binding Name}" l:GridViewSort.PropertyName="Name" />
                    <GridViewColumn Width="Auto" Header="Date" DisplayMemberBinding="{Binding SaveTime, StringFormat='{}{0:dd.MM.yyyy hh:mm:ss}'}" l:GridViewSort.PropertyName="SaveTime" />
                    <GridViewColumn Width="Auto" Header="File" DisplayMemberBinding="{Binding File}" l:GridViewSort.PropertyName="File" />
                    <GridViewColumn Header="Directory" DisplayMemberBinding="{Binding Directory}"  l:GridViewSort.PropertyName="Directory" />
                </GridView>
            </ListView.View>
        </ListView>
        <GridSplitter Height="5" Grid.Row="1" ResizeDirection="Rows" HorizontalAlignment="Stretch" VerticalAlignment="Top"/>
        <l:SaveGameControl x:Name="SaveGameView" Grid.Row="1"/>
    </Grid>
</Window>
